package com.mall.order;

import com.mall.order.dto.*;
import com.mall.order.vo.OrderDetailVO;

import javax.jws.WebService;


/**
 * ciggar
 * create-date: 2019/7/30-上午9:13
 * 订单相关业务
 */

public interface OrderCoreService {

    /**
     * 创建订单
     *
     * @param request
     * @return
     */
    CreateOrderResponse createOrder(CreateOrderRequest request);


    OrderListResponse getOrders(OrderListRequest orderListRequest);

    DeleteOrderResponse deleteOrder(DeleteOrderRequest deleteOrderRequest);

    OrderDetailVO getOrderDetail(Long orderId, Long uid);

    CancelOrderResponse cancelOrder(CancelOrderRequest cancelOrderRequest);

}
